/**
 * output package name
 */
package com.kingdee.eas.crm.enumeration;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class YesorReturnEnum extends StringEnum
{
    public static final String YES_VALUE = "10";
    public static final String NO_VALUE = "20";

    public static final YesorReturnEnum yes = new YesorReturnEnum("yes", YES_VALUE);
    public static final YesorReturnEnum no = new YesorReturnEnum("no", NO_VALUE);

    /**
     * construct function
     * @param String yesorReturnEnum
     */
    private YesorReturnEnum(String name, String yesorReturnEnum)
    {
        super(name, yesorReturnEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static YesorReturnEnum getEnum(String yesorReturnEnum)
    {
        return (YesorReturnEnum)getEnum(YesorReturnEnum.class, yesorReturnEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(YesorReturnEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(YesorReturnEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(YesorReturnEnum.class);
    }
}